/**
 * 
 */
package org.statewalker.parser.turtle.tokenizer;

import org.statewalker.parser.turtle.TurtleDict1;
import org.statewalker.parser.turtle.tokenizer.CharacterTokenizer.CharacterReader;
import org.statewalker.tokenizer.CharStream;
import org.statewalker.tokenizer.ITokenizer;
import org.statewalker.tokenizer.StreamToken;
import org.statewalker.tokenizer.base.SequenceTokenizer;

/**
 * @author kotelnikov
 */
public class LiteralStringTokenizer implements ITokenizer {

    public static final LiteralStringTokenizer INSTANCE = new LiteralStringTokenizer();

    private SequenceTokenizer fDelimiterToknizer;

    private CharacterReader fReader = new CharacterReader();

    public LiteralStringTokenizer() {
        this(TurtleDict1.x_LONG_STRING, "\"\"\"");
    }

    public LiteralStringTokenizer(String stringKey, String str) {
        fDelimiterToknizer = new SequenceTokenizer(stringKey, str);
    }

    public StreamToken read(CharStream stream) {
        if (stream.getChar() != '"')
            return null;
        return null;
    }

}
